package 考试;

public class Program1 {
    public static void main(String[] args) {

        int[]array=new  int[10];
        System.out.printf("随机的十个整数");
        for (int i = 0; i < array.length; i++) {
            array[i]=(int) (Math.random()*100);
            System.out.printf(array[i]+"-");
        }

    }
}
